package dao;


import domain.User;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {
    boolean insert(User user);
    User findUser(String username, String password);
    User findName(String username) throws SQLException;
    boolean editUser(String username, String rePassword, String telephone);
    List<User> userList(int page, int pageSize) throws SQLException;
}
